// vite.config.js
import { defineConfig } from 'vite';
import { node } from '@liuli-util/vite-plugin-node/dist/index.js'

/** @type {import "vite".UserConfig} */
export default defineConfig({
  build: {
    lib: {
      entry: 'src/index.ts',
    },
    target: 'esnext',
  },
  plugins: [node({
    entry: 'src/index.ts',
  })],
});
